<pre>
function f1(){
	var n = 1024;
	function f2(){
		alert(n);
	}
	return f2;
}
var foo = f1();
foo();
</pre>

<script>
function f1(){
	var n = 1024;
	function f2(){
		alert(n);
	}
	return f2;
}
var foo = f1();
foo();
</script>